/**
 * IMonitorWorkBenchDao.java
 * Created at 2017-3-22
 * Created by xieshuang
 * Copyright (C) 2017 BROADTEXT SOFTWARE, All rights reserved.
 */
package com.broadtext.rms.monitor.dao;

import java.util.List;
import java.util.Map;

import com.broadtext.common.exp.DaoException;
import com.broadtext.rms.monitor.model.PackLocationInfo;

/**
 * <p>ClassName: IMonitorWorkBenchDao</p>
 * <p>Description: 监控工作台dao接口层</p>
 * <p>Author: xieshuang</p>
 * <p>Date: 2017-3-22</p>
 */
public interface IMonitorWorkBenchDao {

    /**
     * 
     * <p>Description: 查询客户下指定数量</p>
     * @param querySql 查询sqlid
     * @param pkId 客户主键
     * @return num
     * @throws DaoException 异常
     */
    long findNumByCustomerId(String querySql, String pkId) throws DaoException;

    /**
     * 
     * <p>Description: 查询客户下指定数量</p>
     * @param querySql 查询sqlid
     * @param queryMap 查询条件
     * @return num
     * @throws DaoException 异常
     */
    long findChargingNumByCustomerId(String string, Map<String, Object> queryMap)throws DaoException;

    /**
     * 
     * <p>Description: 电池位置信息</p>
     * @param sql 查询sqlid
     * @param queryMap 查询条件
     * @return 结果集
     * @throws DaoException 异常
     */
    List<PackLocationInfo> findPackLocationInfo(String sql, Map<String, Object> queryMap) throws DaoException;

}
